package com.ibeeking.found.content.b.rest.service;


import com.ibeeking.found.content.service.common.param.BroadcastGroupParam;
import com.ibeeking.found.content.service.common.query.BroadcastGroupPageQuery;
import com.ibeeking.found.content.service.common.query.BroadcastGroupQuery;
import com.ibeeking.found.content.service.common.vo.BroadcastGroupVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * IBroadcastGroupService
 *
 * @Author ibeeking
 * @Date 2022-02-18 14:14
 */
public interface IBroadcastGroupService {

    /***
     * 查询列表
     */
    List<BroadcastGroupVO> list(BroadcastGroupQuery broadcastGroupQuery);

    /***
     * 分页查询
     */
    Page<BroadcastGroupVO> pageList(BroadcastGroupPageQuery broadcastGroupPageQuery);

    /***
     * 新增
     */
    Boolean add(BroadcastGroupParam broadcastGroupParam);

    /***
     * 修改
     */
    Boolean modify(BroadcastGroupParam broadcastGroupParam);

    /***
     * 通过id查询
     */
    BroadcastGroupVO view(Long id);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
}
